<template>
        <div class="box_">
           <ul class="reception">
               <li>
                   <div class="top_">
                   <h2>首页</h2>
                       <ToppingText :name_="'home_writing'"></ToppingText>
                        封面：
                        <ImageUpload :name_="'home_cover'"></ImageUpload>
                        轮播图：
                       <CarouselMap ></CarouselMap>
                   </div>
               </li>
               <li>
                   <div class="top_">
                       <h2>热门图片页面</h2>
                       <ToppingText :name_="'popularImages_writing'"></ToppingText>
                       横幅图片：
                       <ImageUpload :name_="'popularImages_cover'"></ImageUpload>
                   </div>
               </li>
               <li>
                   <div class="top_">
                       <h2>留言板页面</h2>
                       <ToppingText :name_="'messageBoards_writing'"></ToppingText>
                       横幅图片：
                       <ImageUpload :name_="'messageBoards_cover'"></ImageUpload>
                   </div>
               </li>
               <li>
                   <div class="top_">
                       <h2>更新日志</h2>
                       <ToppingText :name_="'changelog_writing'"></ToppingText>
                       横幅图片：
                       <ImageUpload :name_="'changelog_cover'"></ImageUpload>
                   </div>
               </li>
               <li>
                   <div class="top_">
                       <h2>创作中心</h2>
                       <ToppingText :name_="'authoring_Center_writing'"></ToppingText>
                       横幅图片：
                       <ImageUpload :name_="'authoring_Center_cover'"></ImageUpload>
                   </div>
               </li>
               <li>
                   <div class="top_">
                       <h2>个人信息</h2>
                       <ToppingText :name_="'personal_Information_writing'"></ToppingText>
                       横幅图片：
                       <ImageUpload :name_="'personal_Information_cover'"></ImageUpload>
                   </div>
               </li>
               <li>
                   <div class="top_">
                       <h2>文章详情</h2>
                       <ToppingText :name_="'article_Details_writing'"></ToppingText>
                       横幅图片：
                       <ImageUpload :name_="'article_Details_cover'"></ImageUpload>
                   </div>
               </li>
               <li>
                   <div class="top_">
                       <h2>私密空间</h2>
                       <ToppingText :name_="'private_space_writing'"></ToppingText>
                        横幅图片：
                       <ImageUpload :name_="'private_space_cover'"></ImageUpload>
                   </div>
               </li>
               <li>
                   <div class="top_">
                       <h2>网站信息</h2>
                      <SiteInformation ></SiteInformation>
                   </div>
               </li>
           </ul>
        </div>
</template>

<script>
import CarouselMap from "@/components/WebsiteAdministration/CarouselMap.vue";
import api from "@/api";
import ImageUpload from "@/components/WebsiteAdministration/ImageUpload.vue";
import ToppingText from "@/components/WebsiteAdministration/ToppingText.vue";
import SiteInformation from "@/components/WebsiteAdministration/SiteInformation.vue";

export default {
    name: "ReceptionDesk",
    props:['item'],
    components: {SiteInformation, ToppingText, ImageUpload, CarouselMap},
    data(){
        return{
            files_:"",
            writing:"",
        }
    },
}
</script>

<style scoped>
.box_{
    overflow: auto;
    height: 90vh;
    background: white;
    position: relative;
}
/* 一般浏览器的不要太小，容易看不见 */
.box_::-webkit-scrollbar {
    width: 10px;
}
.box_::-webkit-scrollbar-thumb {
    border-radius: 1px;
    background: #f1c3d5;
}
.box_::-webkit-scrollbar-track {
    border-radius: 0;
    background: #f9f9fc;
}
input{
    outline: none;
    width: 300px;
    height: 30px;
}
.reception{
    list-style: none;
    width: 100%;
    font-size: 16px;
}
.reception li{
    padding: 20px;
    background: #e1dfdf;
    margin-top: 50px;
}
.reception li:nth-child(1){
    margin-top: 20px;
}
img{
    margin-right: 20px;
}
.top_{
    margin-bottom: 20px;
}
h2{
    margin-bottom: 10px;
}
.but_{
    background: #f8f4f4;
    width: 90%;z-index: 2;
    position: fixed
}
button{
    padding: 7px 15px;
    outline: none;
    background: #3586f1;
    border: 0;
    border-radius: 3px;
    color: white;
    cursor: pointer;
    z-index: 9;
}
button:hover{
    opacity: .9;
}
</style>